Page({
  data: {
    cityList: [],
    city: '',
  },

  onLoad(options) {
    if (options) {
      const cityList = JSON.parse(options.cityList);

      this.setData({
        city: options.city,
        cityList,
      });
    }
  },
});
